home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{4079BAAC-7282-11D2-A460-008029E79FA1}#1.0#0"; "HOLDSIZE.OCX"
- Begin VB.Form Example
- Caption = "HoldSize Example"
- ClientHeight = 2055
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4680
- Icon = "example.frx":0000
- LinkTopic = "Form1"
- ScaleHeight = 2055
- ScaleWidth = 4680
- StartUpPosition = 3 'Windows Default
- Begin HoldSizeProject.HoldSize HoldSize1
- Left = 3120
- Top = 720
- _ExtentX = 979
- _ExtentY = 979
- End
- Begin VB.CommandButton Command1
- Caption = "Toggle HoldSize"
- Height = 615
- Left = 360
- TabIndex = 0
- Top = 360
- Width = 1575
- End
- Attribute VB_Name = "Example"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- ' Toggle the current hold size activation.
- HoldSize1.Toggle
- ' Send a message box to show what the current state is.
- MsgBox HoldSize1.IsActive
- End Sub
-